#include<iostream>
#include<unistd.h>
using namespace std;

int main(int argc, char* argv[],char* env[])
{
	int i = 0;
	for(;argv[i];i++)
	{
		printf("atgv[%d]:%s\n",i,argv[i]);
	}
	printf("--------------------------\n");
	
	for(i = 0;env[i];i++)

	{
		printf("env[%d]:%s\n",i,env[i]);
	}
	printf("--------------------------\n");


	cout<<"hello C++, I am a C++ pragma! pid:"<<getpid()<<endl;
	cout<<"hello C++, I am a C++ pragma! pid:"<<getpid()<<endl;
	cout<<"hello C++, I am a C++ pragma! pid:"<<getpid()<<endl;
	cout<<"hello C++, I am a C++ pragma! pid:"<<getpid()<<endl;
	return 0;
}
